#include <stdio.h>
#include <string.h>
#include <math.h>
#define PI		3.14159265358979323846

#include "defines.h"
#include "usr_color.h"
#include "comm.h"
#include "draw_staff.h"

int main(int argc, char *argv[])
{
	char filename[64] = "kernel.g6a";

	int i;

	char buf1[20];

	char buf2[20];

	char buf3[20];

	if (argc > 1)
	{
		strcpy(filename, argv[1]);
	}

	if (command_init(filename, "main") != 0)
		return -1;

	fprintf(stdout, "gen_kernel: wrting into file %s ...\n", filename);

	add_label("main");

	graph_set_color(inum2str(buf1, Y_RED, uw), inum2str(buf2, U_RED, uw),
					inum2str(buf3, V_RED, uw));
	draw_point("120:uw", "120:uw");


	macro_return();

	command_terminate();

	return 0;
}
